package com.jyw.business.obstacles.domain.dto.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyw.business.obstacles.enums.TempEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 沈峻
 * @ClassName ServerPageDto
 * @Description 我的工单分页查询
 * @Date 2023/8/15 17:05
 **/
@ApiModel("我的工单分页查询")
@Data
public class MineOrderPageDto {

    @ApiModelProperty("关键词")
    private String keyword;

    @ApiModelProperty(value = "报修开始时间",example = "2023-08-16")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createInfoStartDate;

    @ApiModelProperty(value = "报修结束时间",example = "2023-08-16")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createInfoEndDate;

    @ApiModelProperty(value = "建单开始时间",example = "2023-08-16")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createFaultStartDate;

    @ApiModelProperty(value = "建单结束时间",example = "2023-08-16")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createFaultEndDate;

    @ApiModelProperty("建单人")
    private List<Long> createUserList;

    @ApiModelProperty("报修院区")
    private List<Long> hospitalList;

    @ApiModelProperty("紧急程度")
    private Integer degree;

    @ApiModelProperty("影响范围")
    private Integer rangeType;

    @ApiModelProperty("报障来源")
    private Integer source;

    @ApiModelProperty("工单状态")
    private String currState;

    @ApiModelProperty(value = "当前查询人",hidden = true)
    private Long searchUser;
}
